package cn.tedu.goods.management.dao.persist.repository.impl;


import cn.tedu.goods.management.dao.persist.mapper.OrderMapper;
import cn.tedu.goods.management.dao.persist.repository.IOrderRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class OrderRepositoryImpl implements IOrderRepository {
    @Autowired
    private OrderMapper orderMapper;

    @Override
    public int updateByIdY(Long id) {
        return orderMapper.updateByIdY(id);
    }

    @Override
    public int updateByIdN(Long id) {
        return orderMapper.updateByIdN(id);
    }

    @Override
    public int updateById(Long id) {
        return orderMapper.updateById(id);
    }
}
